import {http} from "@/utils/http/axios";

export interface LiveDetailParams {
  anchorName: string;
  chanId: string
}

/**
 * 查询主播详情
 */
export function getLiveDetail(params: LiveDetailParams) {
  return http.request({
    url: '/system/live/filter',
    method: 'POST',
    params
  });
}

/**
 * 查询主播详情
 */
export function getLiveBroadList(params) {
  return http.request({
    url: "/system/live/filter",
    method: 'POST',
    params
  });
}
